tinyMCE.importPluginLanguagePack("emotions");var TinyMCE_EmotionsPlugin={getInfo:function(){return{longname:"Emotions",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://tinymce.moxiecode.com/tinymce/docs/plugin_emotions.html",version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(A){switch(A){case"emotions":return tinyMCE.getButtonHTML(A,"lang_emotions_desc","{$pluginurl}/images/emotions.gif","mceEmotion")}return""},execCommand:function(E,A,D,F,C){switch(D){case"mceEmotion":var B=new Array();B.file="../../plugins/emotions/emotions.htm";B.width=250;B.height=160;B.width+=tinyMCE.getLang("lang_emotions_delta_width",0);B.height+=tinyMCE.getLang("lang_emotions_delta_height",0);tinyMCE.openWindow(B,{editor_id:E,inline:"yes"});return true}return false}};tinyMCE.addPlugin("emotions",TinyMCE_EmotionsPlugin);